/**
 * @brief webagent settings
 * @author zhangpeihao
 */
#include "webagent_config.h"

///////////////////////////////////////////////////////////////
// Config define
#pragma warning(disable: 4273)
#ifdef __WIN32__
DEFINE_string(LogPath, "..\\..\\..\\logs", "The path to save log files.");
#endif
#ifdef __LINUX__
DEFINE_string(LogPath, "/tmp", "The path to save log files.");
#endif
DEFINE_string(ChatServerAddress, "127.0.0.1:7657", "The address of chat server.");
DEFINE_string(PhpServerAddress, "127.0.0.1:8080", "The address of php server.");
DEFINE_string(BindAddress, "127.0.0.1:7659", "The address to bind.");
DEFINE_int32(Backlog, 100, "Backlog for accept socket.");
DEFINE_int32(ThreadNumber, 2, "The thread number of server.");

DEFINE_int32(SendBufferSize, 8196, "Send buffer size(bytes) for tcp connection with chat server.");
DEFINE_int32(ReceiveBufferSize, 8196, "Receive buffer size(bytes) for tcp connection with chat server.");

DEFINE_int32(id, 1, "The id of this agent.");
DEFINE_string(key, "987654321", "The sign key with chat server.");
#pragma warning(default: 4273)
////////////////////////////////////////////////////////////////////////
